home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Grab Bag
/
Shareware Grab Bag.iso
/
001
/
batch.arc
/
BATCH.DOC
Wrap
Text File
|
1986-05-06
|
12KB
|
351 lines
HOW TO SETUP BATCH FILES FOR DOORS
for the
IBM Personal Computer
Version 14.XX
by
Bob Westcott
7 Dunloggin Drive
Merrimack N.H. 03054
Voice (603) 424-6977
Data (603) 424-5497
March 16, 1986
First thing I must do is to thank Tom Mack and Jon Martin for the
time, energy (and love) for the best BBS in the country.
Without there effort none of us would be able to run such a
wonderful piece of software such as the RBBS-PC.
1.1 Introduction
----------------
This file is to aid people on how to set up batch files which
will make doors function on a RBBS-PC bulletin board system. It
will show you how to do it under a standard RBBS (no multi-
tasking) and multi-tasking using MultiLink and Double Dos.
2.1 Required files
------------------
I don't want you to think that the following examples are the
only way to set up you system or even the best they are ways that
will work and have been tested to work.
The following is a example of how my batch files are setup:
All of the following files have been supplied as stated in this
doc. for your use and should be changed to work on your system.
The following is for a NON-MULTI TASKING system
-----------------------------------------------
(The RBBS.BAT file kept on drive A to do auto reboots, power
failures etc.)
C: Go to drive with RBBS files.
ASTCLOCK Restore clock and time of day.
PROMPT $P $G Set up the prompt that I like.
WATCHDG1 OFF Turn watchdog off.
IF EXIST C:RCTTY.BAT DEL RCTTY.BAT To remove RCTTY.BAT file.
RBBS-PC Call RBBS program.
WATCHDG1 ON Place watchdog on.
IF EXIST C:RCTTY.BAT C:RCTTY.BAT Run the RCTTY.BAT file. (**)
A: Return to drive A.
RBBS.BAT Restart this file.
(**) This is where the RBBS software inserts what door file you
are using if one was called if no door was called then batch file
continues on its way without going to CHESS.BAT. This same file
gets you to be remote sysop. To get a better idea of how it
works you can go to doors, while in local, break the batch loop
before the watchdog gets you and look at the RCTTY.BAT file.
The following is a example on what the batch file will look like
that is called from the RBBS, in this case it is calling the
CHESSDOR.EXE file. This is the only file that changes when using
different software/programs to run out the doors.
*****************************************************************
With each piece of software received from me you will get what
the calling batch file should be.
*****************************************************************
(The CHESS.BAT file located on drive C)
C: Insure we are on C drive.
WATCHDG1 OFF To allow chess program to
monitor line (a must!!)
CHESSDOR Call the chess monitor pgm.
A: Go to drive A.
RBBS.BAT Restart above batch file.
The loop is complete.
The door menu file called MENU5 is also supplied.
The following is for Double Dos
-------------------------------
You must be running DOS 3.X or higher.
You must have the following files:
1. RBBS1.BAT Node 1 calling batch file
2. RBBS2.BAT Node 2 calling batch file
3. CHESS-1.BAT Node 1 chess calling batch file
4. CHESS-2.BAT Node 2 chess calling batch file
5. DDCONFIG.SYS Supplied by Double Dos
6. DBLDANSI.SYS Supplied by Double Dos
7. CONFIG.SYS Allows color graphics on 2 nodes
8. AUTOEXEC.BAT Gets it all started
9. SHARE Supplied by DOS 3.X
10. MENU51 Shows node 2 doors menu.
11. MENU52 Shows node 2 doors menu.
The RBBS1.BAT file on drive A:
C: Puts you on the RBBS dv
WATCHDG1 OFF Disarm Watch dog 1
IF EXIST C:RCTTY1.BAT DEL C:RCTTY1.BAT Removes node 1 batch
RBBS-PC 1 Node 1 RBBS call
WATCHDG1 ON Arm Watch Dog 1
IF EXIST C:RCTTY1.BAT C:RCTTY1.BAT Call the Door program
A: Return to boot drive
RBBS1 Call this batch file
The RBBS2.BAT file on drive A:
C: Puts you on the RBBS dv
WATCHGDG2 OFF Disarm Watch Dog 2
IF EXIST C:RCTTY2.BAT DEL C:RCTTY2.BAT Removes node 2 batch
RBBS-PC 2 Node 2 RBBS call
WATCHDG2 ON Arm Watch Dog 2
IF EXIST C:RCTTY2.BAT C:RCTTY2.BAT Call the Door program
A: Return to boot drive
RBBS2 Call this batch file
Notice that there is a different Watch Dog program for node 2
and node 1.
The RCTTY2.BAT is a different name than that in the node 1 call,
these different names are made when you run CONFIG when it asks
you for the door batch name.
The following is a example on what the batch file will look like
that is called from the RBBS, in this case it is calling the
CHESSDOR.EXE file. This is the only file that changes when using
different software/programs to run out the doors.
*****************************************************************
With each piece of software received from me you will get what
the calling batch file should be.
*****************************************************************
The CHESS-1.BAT file on drive C:
C: Insure you are on RBBS drive
WATCHDG1 OFF Disarm Watch Dog for Chess software
because it has its own line monitor
and if you use Watch Dog and someone
hangs up in chess it will disconnect
the user on the other node!!!
CHESSDOR 1 Calls node 1 chess
A: Returns you to the boot drive
RBBS1 Calls the RBBS 1 boot batch file
The following is a example on what the batch file will look like
that is called from the RBBS, in this case it is calling the
CHESSDOR.EXE file. This is the only file that changes when using
different software/programs to run out the doors.
*****************************************************************
With each piece of software received from me you will get what
the calling batch file should be.
*****************************************************************
The CHESS-2.BAT file on drive C:
C: Insure you are on the RBBS drive
WATCHDG2 OFF Disarm Watch Dog (see above)
CHESSDOR 2 Calls node 2 chess
A: Returns you to the boot drive
RBBS2 Calls the RBBS 2 boot batch file
Do NOT remove the 'WATCHDGx ON' call from the RBBS1.BAT and
RBBS2.BAT files as they are needed when you go to your DOS from
remote (7 from the main menu).
The DDCONFIG.SYS file on drive C:
Set the parameters as you like (as your system requires), but if
you use the file names that I have used in this example then the
following parameters should be set as stated:
top program = A:RBBS1
bottom program = A:RBBS2
The following parameters should be set as follows:
top size = half
priority = equal
The DBLDANSI.SYS file supplied must be available on the drive
that Double Dos is installed on.
Your CONFIG.SYS (on both drive A & C)
file should be changed as follows:
You should REMOVE the DEVICE = ANSI.SYS statement from your
CONFIG.SYS and insert DEVICE = DBLDANSI.SYS in its place.
If you don't use a CONFIG.SYS then make on with the above
statement in it.
The AUTOEXEC.BAT file on drive A:
A: Insure you are on the boot drive
SHARE Program supplied with DOS 3.X
C: Call drive that Double Dos is on
DOUBLEDO Call Double Dos
The MENU51 file on drive as stated in RBBS1PC.DEF file:
Must have the door listed as 'CHESS-1' as the door if you used
the same file names as I have (see supplied MENU51 file).
The MENU52 file on drive as stated in RBBS2PC.DEF file:
Must have the door listed as 'CHESS-2' as the door if you used
the same file names as I have (see supplied MENU52 file).
The following is for Multi-Link
-------------------------------
You must be running DOS 3.X or higher.
When using CONFIG.EXE (supplied with the RBBS-PC) on selection
#81 state using doors 'YES', using MULTILINK 'YES', window state
'0' any other window number will caused the CHESSDOR program to
hang. Therefore if you are using software that requires another
window number you CANNOT use the doors for both!!!
You must have the following files:
1. RBBS1.BAT Node 1 calling batch file.
2. RBBS2.BAT Node 2 calling batch file.
3. CHESS-1.BAT Node 1 chess calling batch file.
4. CHESS-2.BAT Node 2 chess calling batch file.
5. AUTOEXEC.BAT Gets it all started.
6. AUTOEXE1.BAT Gets node 1 started.
7. AUTOEXE2.BAT Gets node 2 started.
8. SHARE Supplied by DOS 3.X.
9. MENU51 Shows node 1 doors menu.
10. MENU52 Shoos node 2 doors menu.
All the above files are set up the same way for Multi-Link as
they were for Double Dos (except for AUTOEXEx.BAT) and you should
see the examples in the above Double Dos area for how to set them
up.
The AUTOEXEC.BAT file on drive A:
A: Insure you are on the boot drive
SHARE Supplied with DOS 3.X
MLINK /9,172/9,172 Start Multi Link on 2 nodes
The AUTOEXE1.BAT file on drive A:
RBBS1 Starts node 1 RBBS.
The AUTOEXE2.BAT file on drive A:
RBBS2 Starts node 2 RBBS.
This file is only how to set up your batch files to run doors's
in general for about any type of software
The supplied SYSOP.DOC that comes with each piece of software I
supply shows ONLY how to run that piece of software and doesn't
include the above stated information.
Enjoy Doors and the RBBS
Bob...